#include "stl.h"
#include "solution.h"

int main(int argc, char *argv[]){
    string formulas[] = {
        "H2O",
        "Mg(OH)2",
        "K4(ON(SO3)2)2",
        "Be32",
    };
    Solution sln;
    for(auto&f:formulas){
        print("formula=", f, "\n")
        print("o:", sln.countOfAtoms(f), "\n")
    }
    print("\n------ main exit ------\n")
    return 0;
}
